package com.base.service.impl;

import com.base.mapper.voipmapper.CreditCardNotesMapper;
import com.base.po.creditcard.CreditCardNotes;
import com.base.po.creditcard.CreditCardNotesExample;
import com.base.po.creditcard.CreditCardUserinfo;
import com.base.service.CreditCardNotesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("creditCardNotesService")
public class CreditCardNotesServiceImpl implements CreditCardNotesService {
	
	@Autowired
	private CreditCardNotesMapper creditCardNotesMapper;

	@Override
	public int countByExample(CreditCardNotesExample example) {
		return creditCardNotesMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(CreditCardNotesExample example) {
		return creditCardNotesMapper.deleteByExample(example);
	}

	@Override
	public int insert(CreditCardNotes record) {
		return creditCardNotesMapper.insert(record);
	}

	@Override
	public int insertSelective(CreditCardNotes record) {
		return creditCardNotesMapper.insertSelective(record);
	}

	@Override
	public List<CreditCardNotes> selectByExample(CreditCardNotesExample example) {
		return creditCardNotesMapper.selectByExample(example);
	}

	@Override
	public CreditCardNotes selectByPrimaryKey(String tradeno) {
		return creditCardNotesMapper.selectByPrimaryKey(tradeno);
	}

	@Override
	public int updateByExampleSelective(CreditCardNotes record, CreditCardNotesExample example) {
		return creditCardNotesMapper.updateByExampleSelective(record, example);
	}

	@Override
	public int updateByExample(CreditCardNotes record, CreditCardNotesExample example) {
		return creditCardNotesMapper.updateByExample(record, example);
	}

	@Override
	public int updateByPrimaryKeySelective(CreditCardNotes record) {
		return creditCardNotesMapper.updateByPrimaryKeySelective(record);
	}
}
